
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    
    <title>Ask a Question - Stack Overflow</title>
    <link rel="stylesheet" href="css/all.css">

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

    
    <script type="text/javascript" src="js/master.js"></script>
    <script type="text/javascript">var imagePath = 'i/';</script>
    
    <script src="js/question.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        $(function() {
            $("#title").blur(function() { QuestionSuggestions(); });            
        });
        
        function QuestionSuggestions() {
            var s = $("#title").val();            
            if (s.length > 2 && !($("#title").hasClass('edit-field-overlayed'))) {
                document.title = s + " - Stack Overflow";
                $("#question-suggestions").load("/search/titles?like=" + escape(s));
            }
        }
    </script>


</head>
<body>
    <noscript><div id="noscript-padding"></div></noscript>

    <div id="notify-container">
    </div>

    <div class="container">
        <div id="header">
            <div id="topbar">
                <div id="hlinks">
                    <a href="/users/recent/240893"><img src="css/img/replies-off.png" width="15" height="10" title="you have no new replies" alt=""></a> 
                    <a href="/users/240893/kerem" >Kerem</a>&nbsp;<span class="reputation-score" title="reputation score">11</span><span title="1 bronze badge"><span class="badge3">&#9679;</span><span class="badgecount">1</span></span>

<span class="lsep">|</span>

                    <a href="/users/logout?returnurl=%2fquestions%2fask">logout</a>
<span class="lsep">|</span>

                    <a href="/about">about</a> <span class="lsep">|</span> <a href="/faq">faq</a>
                </div>

                <div id="hsearch">
                    <form id="search" action="/search" method="get">
                    <div>
                        <input name="q" class="textbox" tabindex="1" onfocus="if (this.value=='search') this.value = ''" type="text" maxlength="80" size="28" value="search">
                    </div>
                    </form>
                </div>
            </div>
            <br class="cbt">

            <div id="hlogo">
                
            </div>
            <div id="hmenus">
                <div class="nav">
                    <ul>
                        <li><a href="/questions">Questions</a></li>
                        <li><a href="/tags">Tags</a></li>

                        <li><a href="/users">Users</a></li>
                        <li><a href="/badges">Badges</a></li>
                        <li><a href="/unanswered">Unanswered</a></li>
                    </ul>
                </div>
                <div class="nav" style="float:right">
                    <ul>

                        <li style="margin-right:0px"  class="youarehere">
                            <a style="cursor:default">Ask Question</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    
        <div id="content">

            

<div id="mainbar" style="width:660px">

    <form id="post-form" action="/questions/ask/submit" method="post">
        <div class="form-item" style="margin-bottom:-15px; margin-top:-10px">
            <table style="width:668px">
                <tr>
                    <td style="width:50px"><label for="title">Title</label></td>
                    <td style="padding-left:5px"><input id="title" name="title" type="text" maxlength="300" tabindex="100" style="width:610px" value="">
                        <span class="edit-field-overlay">What's your programming question? Be descriptive.</span>

                    </td>
                </tr>
            </table>
            <div id="question-suggestions" class="form-item-info" style="width:665px">
                
            </div>
        </div>        
        
<script src="js/wmd.js" type="text/javascript"></script>

<script type="text/javascript">
    $(function() { 
        editorReady(0);
    });   
</script>

<div id="post-editor">

    <script type="text/javascript">
        $(function() {
            $('#title').focus(function() { $('#how-to-tag').hide(); $('#how-to-format').hide(); $('#how-to-title').fadeIn('slow'); });
            $('#wmd-input').focus(function() { $('#how-to-tag').hide(); $('#how-to-format').fadeIn('slow'); $('#how-to-title').hide(); });
            $('#tagnames').focus(function() { $('#how-to-tag').fadeIn('slow'); $('#how-to-format').hide(); $('#how-to-title').hide(); });
        });
    </script>

    
    <div id="wmd-container">
        <div id="wmd-button-bar"></div>
        <textarea id="wmd-input" name="post-text" cols="92" rows="15" tabindex="101"></textarea>
    </div>

    <div class="community-option">
        <input id="communitymode" name="communitymode" type="checkbox" >
        <label for="communitymode" title="community owned posts do not generate any reputation for the owner, have a lower reputation barrier for collaborative editing, and show only a revision history instead of a signature block">community wiki</label>
    </div>

    <div id="wmd-preview"></div>


    <div id="edit-block">

        <input id="fkey" name="fkey" type="hidden" value="5d5ef17eb1937b598130353bc323b79d">
        <input id="author" name="author" type="text">
    </div>
</div>

<script id="tageditor" src="js/tageditor.js" type="text/javascript"></script>
    
<script type="text/javascript">
    $(function() {
        bindTagFilterAutoComplete('#tagnames');
    })
</script>
	
<div class="form-item">
    <label>Tags</label>

    <input id="tagnames" name="tagnames" type="text" size="60" value="" tabindex="103" style="width: 660px">
    
    <span class="edit-field-overlay" style="width: 640px">Combine multiple words into single-words, space to separate up to 5 tags (python c# ruby)</span>

</div>

<div style="margin-bottom:20px">
    <h2>
        <input type="checkbox" id="notify-email" name="notify-email" > Notify 
        <input id="notify-email-address" name="notify-email-address" disabled="true" type="text" style="width: 260px;" value="keremtiryaki@gmail.com"> daily of any new answers
    </h2>

</div>

<script src="js/tageditor.js" type="text/javascript"></script>
<script src="js/jquery.typewatch.js" type="text/javascript"></script>

<script type="text/javascript">
    $(function() {
        initEmailNotification();   
        
    });
    
    function initEmailNotification() {
        var toggle = function() { $("#notify-email-address").attr('disabled', !$("#notify-email").is(":checked")); };
        toggle();
        $("#notify-email").click(function() {
            toggle();
            
        });
    }
    
    function saveEmailNotification(email) {
        // only post if the email is valid
        if (!(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i).test(email)) return;
        
        var jCheck = $("#notify-email");   
		$.ajax ({
		    type: "POST",
		    url: "/posts/0/update-owner-notification",		    
		    data: { "fkey": fkey, "notifyEmailAddress": email, "notifyEmail": jCheck.is(":checked")},
		    dataType: "json",
		    success: function(result) {   
		        if (!result.success) {
		            var msg = (result.message && result.message.length > 0) ? result.message : "A problem has occurred when changing your notification setttings - please try again";
		            showAjaxError(jCheck.closest('div'), result.message);
		        }
		    }
		});
	}
</script>

        
        <div class="form-submit cbt"><input id="submit-button" type="submit" value="Post Your Question" tabindex="120"></div>
                
    </form>
</div>   

<div id="sidebar" style="width:270px">
    <div id="scroller-anchor"></div>

    <div id="scroller" style="margin-top:5px; width:270px">
        <div class="module newuser" id="how-to-title">
            <h4>How to Ask</h4>
            <p><b>Is your question about programming?</b></p><p>We prefer questions that can be <i>answered</i>, not just discussed.</p><p>Provide details. Write clearly and simply.</p><p>If your question is about this website, <b><a href="http://meta.stackoverflow.com">ask it on meta</a></b> instead.</p>

        </div>
        
<div class="module newuser" id="how-to-format" style="display:none">
    <h4>How to Format</h4>    
    <p><span style="font-size:80%">&#9658;</span> put returns between paragraphs</p>
    <p><span style="font-size:80%">&#9658;</span> indent code by 4 spaces</p>
    <p><span style="font-size:80%">&#9658;</span> for linebreak add 2 spaces at end</p>    
    <p><span style="font-size:80%">&#9658;</span> backtick escapes <code>`like _so_`</code></p>

    <p><span style="font-size:80%">&#9658;</span> blockquote using &gt; at start of line</p>
    <p>&lt;http://foo.com&gt;<br>[foo](http://foo.com)<br>&lt;a href="http://foo.com"&gt;foo&lt;/a&gt;</p>
    <p><span style="font-size:80%">&#9658;</span> <a href="http://meta.stackoverflow.com/questions/1777/what-html-tags-are-allowed" target="_blank">basic HTML</a> also allowed</p>

    <p class="tar"><a href="/editing-help" target="_edithelp">full reference &raquo;</a></p>
</div>
<div class="module newuser" id="how-to-tag" style="display:none">
    <h4>How to Tag</h4>
    <p><span style="font-size:80%">&#9658;</span> favor existing popular tags</p>
    <p><span style="font-size:80%">&#9658;</span> do not create new tags unless you have to</p>
    <p><span style="font-size:80%">&#9658;</span> use common abbreviations</p>

    <p><span style="font-size:80%">&#9658;</span> avoid including synonyms</p>
    <p><span style="font-size:80%">&#9658;</span> maximum of 5 tags</p>
    <p><span style="font-size:80%">&#9658;</span> maximum of 25 chars per tag</p>
    <p><span style="font-size:80%">&#9658;</span> tag characters: [a-z 0-9 + # - .]</p>
    <p><span style="font-size:80%">&#9658;</span> delimit tags by space, semicolon, or comma</p>

    <p class="tar"><a href="/tags">popular tags &raquo;</a></p>
</div>    
    </div>
    <script type="text/javascript">
       $(function() {
            moveScroller();
        });
    </script>
</div>
<br class="cbt">


        </div>
    </div>
    <div id="footer">

        <div class="container">
            <div id="footer-menu">
                <a href="/about">about</a> |
                <a href="/faq">faq</a> |
                <a href="http://blog.stackoverflow.com/">blog</a> |
                <a href="http://itc.conversationsnetwork.org/series/stackoverflow.html">podcast</a> |
                <a href="/privacy">privacy policy</a> |
                <a href="http://ads.stackoverflow.com/a.aspx?ZoneID=0&amp;BannerID=323&amp;AdvertiserID=5&amp;CampaignID=194&amp;Task=Click&amp;SiteID=1">advertising info</a> |
                <b><a href="mailto:team@stackoverflow.com">contact us</a></b> |
                <b><a href="http://meta.stackoverflow.com">feedback always welcome</a></b>

                <div id="footer-sites">
                    <span style="color:#FE7A15;font-size:140%">&#9632;</span>&nbsp;<a href="http://stackoverflow.com">stackoverflow.com</a>&nbsp;&nbsp;
                    <span style="color:#FE7A15;font-size:140%">&#9632;</span>&nbsp;<a href="http://careers.stackoverflow.com">careers</a>&nbsp;&nbsp;
                    <span style="color:#E8272C;font-size:140%">&#9632;</span>&nbsp;<a href="http://serverfault.com">serverfault.com</a>&nbsp;&nbsp;
                    <span style="color:#00AFEF;font-size:140%">&#9632;</span>&nbsp;<a href="http://superuser.com">superuser.com</a>&nbsp;&nbsp;
                    <span style="color:#969696;font-size:140%">&#9632;</span>&nbsp;<a href="http://meta.stackoverflow.com">meta</a>&nbsp;&nbsp;

                    <a href="http://www.howtogeek.com">howtogeek.com</a>&nbsp;&nbsp;
                    <a href="http://doctype.com">doctype.com</a>
                </div>
            </div>
            <div id="footer-flair">
                <img src="" width="168" height="67" alt="cc-wiki, PEAK Internet" usemap="#footermap">
                <map name="footermap">
                    <area href="http://creativecommons.org/licenses/by-sa/2.5/" alt="cc-wiki" title="Creative Commons: Attribution - Share Alike"
                        coords="0,0,50,67">

                    <area href="http://www.peakinternet.com/business/hosting/colocation-dedicated#" alt="PEAK Internet"
                        title="powered by PEAK Internet dedicated server hosting" coords="62,0,168,67">
                </map>
                <div id="svnrev">svn revision: 6228</div>
            </div>
            <div id="copyright">
                site design and logo is &copy; 2010 stackoverflow.com llc; 
                user contributed content licensed under <a href="http://creativecommons.org/licenses/by-sa/2.5/" rel="license">cc-wiki</a> with <a href="http://blog.stackoverflow.com/2009/06/attribution-required/" rel="license">attribution required</a>

            </div>
        </div>
    </div>
    
    <noscript>
        <div id="noscript-warning">Stack Overflow works best with JavaScript enabled<img src="http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif" alt="" class="dno"></div>
    </noscript>

</body>
</html>